package com.itheima.抽象类.抽象类的作用_03;

//子类只需要关注取餐方法就行了
public class LuiYan extends EatTemplate {
    @Override
    protected void quCan() {
        System.out.println("西红柿炒鸡蛋");
        System.out.println("锅包肉");
        System.out.println("米饭");
    }
}
class YangMi extends EatTemplate{
    @Override
    protected void quCan() {
        System.out.println("小鸡炖蘑菇");
        System.out.println("土豆丝");
        System.out.println("馒头");
    }
}